<%--
  Created by IntelliJ IDEA.
  User: lxm
  Date: 2018/5/5
  Time: 下午3:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/static/common/stylesheets.jsp"></jsp:include>
    <link href="/static/layui/css/doc.css" rel="stylesheet">
    <title>句法分析-文本模式</title>
    <style>
        p {
            font-size: 16px;
            line-height: 2;
        }

        .icon {
            position: relative;
            font-size: 15px;
            height: 32px;
            display: block;
            fill: rgba(51, 51, 51, 0.5);
            margin-right: 20px;
            -webkit-transition: all .2s ease-out;
            transition: all .2s ease-out;
        }

        .icon.active {
            fill: #E74C3C;
        }

        .icon.big {
            width: 64px;
            height: 64px;
            fill: rgba(51, 51, 51, 0.5);
        }

        #wrapper {
            min-height: 700px;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            background-color: #fff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: left;
            -webkit-justify-content: left;
            -ms-flex-pack: left;
            justify-content: left;

        }

        #left-side {
            height: 70%;
            width: 15%;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

        #left-side ul li {
            padding-top: 10px;
            padding-bottom: 10px;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            line-height: 34px;
            color: rgba(51, 51, 51, 0.5);
            font-weight: 500;
            cursor: pointer;
            -webkit-transition: all .2s ease-out;
            transition: all .2s ease-out;
        }

        #left-side ul li:hover {
            color: #333333;
            -webkit-transition: all .2s ease-out;
            transition: all .2s ease-out;
        }

        #left-side ul li:hover > .icon {
            fill: #333;
        }

        #left-side ul li.active {
            color: #333333;
        }

        #left-side ul li.active:hover > .icon {
            fill: #E74C3C;
        }

        #border {
            height: 600px;
            width: 1px;
            background-color: rgba(51, 51, 51, 0.2);
        }

        #border #line {
            width: 5px;
            height: 54px;
            background-color: #E74C3C;
            margin-left: -2px;
            margin-top: 7px;
            -webkit-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
        }

        #right-side {
            /*height: 300px;*/
            min-height: 650px;
            width: 85%;
            /*overflow: hidden;*/
        }

        #right-side #first, #right-side #second, #right-side #third, #right-side #fourth {
            position: absolute;
            height: 300px;
            width: 75%;
            -webkit-transition: all .6s ease-in-out;
            transition: all .6s ease-in-out;
            margin-top: -350px;
            opacity: 0;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
        }

        #right-side #first.active, #right-side #second.active, #right-side #third.active, #right-side #fourth.active {
            margin-top: 0px;
            opacity: 1;
            -webkit-transition: all .6s ease-in-out;
            transition: all .6s ease-in-out;
        }

        .tab-active {
            color: #333333;
            margin-top: 0px;
            opacity: 1;
            -webkit-transition: all .6s ease-in-out;
            transition: all .6s ease-in-out;
        }

        .tab-content-active {
            margin-top: 0px;
            opacity: 1;
            -webkit-transition: all .6s ease-in-out;
            transition: all .6s ease-in-out;
        }
    </style>

</head>
<body>
<jsp:include page="/static/common/header.jsp"></jsp:include>

<div class="layui-main site-inline">
    <jsp:include page="/static/common/docs.jsp"></jsp:include>

    <div class="site-content">
        <h1 class="site-h1">依存句法分析 - 综述</h1>
        <p>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            句法分析，本自然语言提供的句法分析是依存句法分析。它将文本拆分成词序列之后，以一颗依存语法树的形式，描述词与词之间的依存关系，也即指出了词语之间在句法上的搭配关系。本自然语言与可视化处理平台设计了可扩展的句法分析接口，以工厂模式的方式，生成不同实现方法的句法分析器。目前，平台采用的句法分析器是HanLP自然语言算法工具包内置的最大熵依存句法分析器、CRF依存句法分析器。其中，最大熵依存句法分析器是一个判决式汉语句法分析器的Java实现，基于最大熵模型和最大生成树模型。CRF依存句法分析器是一个基于CRF的中文依存句法分析器，内部CRF模型的特征函数采用双数组Trie树(Double
            ArrayTrie)储存，解码采用特化的维特比后向算法
        <fieldset class="layui-elem-field layui-field-title site-title">
            <legend><a name="compatibility">接口说明</a></legend>
        </fieldset>
        <p>请求依存句法分析。</p>
        <blockquote><p>注：文本可以是一条或多条字符串格式的中文文字文本。平台它具有高效、快速解析的特点。</p></blockquote>
        <p><em>（单文本）请求：</em></p>
        <pre class="md-fences md-end-block" lang="powershell"> <div class="CodeMirror cm-s-inner CodeMirror-wrap"><div
                style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div
                class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler"
                                                                                     cm-not-content="true"></div><div
                class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer"
                                                             style="margin-left: 0px; margin-bottom: 0px; border-right-width: 30px; padding-right: 0px; padding-bottom: 0px;"><div
                style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div
                role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div
                class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div
                class="CodeMirror-code" role="presentation" style=""><div class="CodeMirror-activeline"
                                                                          style="position: relative;"><div
                class="CodeMirror-activeline-background CodeMirror-linebackground"></div><div
                class="CodeMirror-gutter-background CodeMirror-activeline-gutter" style="left: 0px; width: 0px;"></div><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;"><span
                class="cm-error">请求方法</span><span class="cm-operator">:</span><span
                class="cm-identifier">POST</span></span></pre></div><pre class=" CodeMirror-line "
                                                                         role="presentation"><span role="presentation"
                                                                                                   style="padding-right: 0.1px;"><span
                class="cm-error">请求</span><span class="cm-identifier">URL</span><span class="cm-operator">:</span> <span
                class="cm-identifier">http</span><span class="cm-operator">://</span><span
                class="cm-identifier">host</span><span class="cm-operator">:</span><span
                class="cm-identifier">port</span><span class="cm-operator">/</span><span
                class="cm-identifier">api</span><span class="cm-operator">/</span><span
                class="cm-identifier">sentence</span><span class="cm-operator">/</span><span class="cm-identifier">singleness</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;"><span
                class="cm-error">请求类型</span><span class="cm-operator">:</span> <span
                class="cm-identifier">application</span><span class="cm-operator">/</span><span class="cm-identifier">json</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;"><span
                class="cm-error">请求</span><span class="cm-identifier">Body</span><span
                class="cm-operator">:</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"><span class="cm-punctuation">{</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string">"text"</span><span class="cm-operator">:</span><span class="cm-string">"我爱桂林，也爱桂林电子科技大学"</span><span
                class="cm-punctuation">,</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string">"type"</span><span class="cm-operator">:</span><span
                class="cm-string">"HANLP_MaxEnt"</span><span class="cm-punctuation">,</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string">"format"</span><span class="cm-operator">:</span><span class="cm-string">"JSON"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;"><span
                class="cm-punctuation">}</span></span></pre></div></div></div></div></div><div
                style="position: absolute; height: 30px; width: 1px; border-bottom-width: 0px; border-bottom-style: solid; border-bottom-color: transparent; top: 198px;"></div><div
                class="CodeMirror-gutters" style="display: none; height: 228px;"></div></div></div></pre>
        <p><em>（多文本）请求：</em></p>
        <pre class="md-fences md-end-block md-focus" lang="powershell" style="page-break-inside: unset;"> <div
                class="CodeMirror cm-s-inner CodeMirror-wrap CodeMirror-focused"><div
                style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 154px; left: 390.421875px;"></div><div
                class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler"
                                                                                     cm-not-content="true"></div><div
                class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer"
                                                             style="margin-left: 0px; margin-bottom: 0px; border-right-width: 30px; padding-right: 0px; padding-bottom: 0px;"><div
                style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div
                role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"></div><div
                class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div
                class="CodeMirror-code" role="presentation" style=""><div class="" style="position: relative;"><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;"><span
                class="cm-error">请求方法</span><span class="cm-operator">:</span><span
                class="cm-identifier">POST</span></span></pre></div><pre class=" CodeMirror-line "
                                                                         role="presentation"><span role="presentation"
                                                                                                   style="padding-right: 0.1px;"><span
                class="cm-error">请求</span><span class="cm-identifier">URL</span><span class="cm-operator">:</span> <span
                class="cm-identifier">http</span><span class="cm-operator">://</span><span
                class="cm-identifier">host</span><span class="cm-operator">:</span><span
                class="cm-identifier">port</span><span class="cm-operator">/</span><span
                class="cm-identifier">api</span><span class="cm-operator">/</span><span
                class="cm-identifier">sentence</span><span class="cm-operator">/</span><span class="cm-identifier">multiple</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;"><span
                class="cm-error">请求类型</span><span class="cm-operator">:</span> <span
                class="cm-identifier">application</span><span class="cm-operator">/</span><span class="cm-identifier">json</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;"><span
                class="cm-error">请求</span><span class="cm-identifier">Body</span><span
                class="cm-operator">:</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"><span class="cm-punctuation">{</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string">"texts"</span><span class="cm-operator">:</span><span class="cm-punctuation">[</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-punctuation">{</span></span></pre><div class="CodeMirror-activeline"
                                                                 style="position: relative;"><div
                class="CodeMirror-activeline-background CodeMirror-linebackground"></div><div
                class="CodeMirror-gutter-background CodeMirror-activeline-gutter" style="left: 0px; width: 0px;"></div><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string">"text"</span><span class="cm-operator">:</span><span class="cm-string">"我爱桂林，也爱桂林电子科技大学"</span></span></pre></div><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-punctuation">},</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-punctuation">{</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string">"text"</span><span class="cm-operator">:</span><span class="cm-string">"我爱我的家。"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-punctuation">}</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-punctuation">],</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string">"type"</span><span class="cm-operator">:</span><span
                class="cm-string">"HANLP_MaxEnt"</span><span class="cm-punctuation">,</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string">"format"</span><span class="cm-operator">:</span><span class="cm-string">"JSON"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;"><span
                class="cm-punctuation">}</span></span></pre><pre class=" CodeMirror-line " role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"><span
                cm-text="">&#8203;</span></span></pre></div></div></div></div></div><div
                style="position: absolute; height: 30px; width: 1px; border-bottom-width: 0px; border-bottom-style: solid; border-bottom-color: transparent; top: 374px;"></div><div
                class="CodeMirror-gutters" style="display: none; height: 404px;"></div></div></div></pre>
        <fieldset class="layui-elem-field layui-field-title site-title">
            <legend><a name="compatibility">请求参数说明</a></legend>
        </fieldset>
        <figure>
            <table>
                <thead>
                <tr>
                    <th style="text-align:center;">字段名</th>
                    <th style="text-align:center;">类型</th>
                    <th style="text-align:center;">说明</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td style="text-align:center;">status</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">状态码</td>
                </tr>
                <tr>
                    <td style="text-align:center;">msg</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">状态信息</td>
                </tr>
                <tr>
                    <td style="text-align:center;">data</td>
                    <td style="text-align:center;">array</td>
                    <td style="text-align:center;">Ajax返回的数据体</td>
                </tr>
                <tr>
                    <td style="text-align:center;">text</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">句子文本</td>
                </tr>
                <tr>
                    <td style="text-align:center;">items</td>
                    <td style="text-align:center;">array</td>
                    <td style="text-align:center;">句法分析后的条目集合</td>
                </tr>
                <tr>
                    <td style="text-align:center;">id</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">词序列的id</td>
                </tr>
                <tr>
                    <td style="text-align:center;">word</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">该词</td>
                </tr>
                <tr>
                    <td style="text-align:center;">pos</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">该词的词性，如名词</td>
                </tr>
                <tr>
                    <td style="text-align:center;">head</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">该词的前一个节点</td>
                </tr>
                <tr>
                    <td style="text-align:center;">deprel</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">与前一个节点的联系</td>
                </tr>
                </tbody>
            </table>
        </figure>
        <fieldset class="layui-elem-field layui-field-title site-title">
            <legend><a name="compatibility">响应</a></legend>
        </fieldset>
        <pre class="md-fences md-end-block" lang="json" style="page-break-inside: unset;"> <div
                class="CodeMirror cm-s-inner CodeMirror-wrap"><div
                style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 0px; left: 4px;"></div><div
                class="CodeMirror-scrollbar-filler" cm-not-content="true"></div><div class="CodeMirror-gutter-filler"
                                                                                     cm-not-content="true"></div><div
                class="CodeMirror-scroll" tabindex="-1"><div class="CodeMirror-sizer"
                                                             style="margin-left: 0px; margin-bottom: 0px; border-right-width: 30px; padding-right: 0px; padding-bottom: 0px;"><div
                style="position: relative; top: 0px;"><div class="CodeMirror-lines" role="presentation"><div
                role="presentation" style="position: relative; outline: none;"><div class="CodeMirror-measure"><pre><span>xxxxxxxxxx</span></pre></div><div
                class="CodeMirror-measure"></div><div style="position: relative; z-index: 1;"></div><div
                class="CodeMirror-code" role="presentation" style=""><div class="CodeMirror-activeline"
                                                                          style="position: relative;"><div
                class="CodeMirror-activeline-background CodeMirror-linebackground"></div><div
                class="CodeMirror-gutter-background CodeMirror-activeline-gutter" style="left: 0px; width: 0px;"></div><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;">{</span></pre></div><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string cm-property">"status"</span>:<span class="cm-number">0</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string cm-property">"msg"</span>:<span class="cm-string">"请求成功"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp;<span
                class="cm-string cm-property">"data"</span>:[</span></pre><pre class=" CodeMirror-line "
                                                                               role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"text"</span>:<span
                class="cm-string">"我爱桂林，也爱桂林电子科技大学"</span>,</span></pre><pre class=" CodeMirror-line "
                                                                             role="presentation"><span
                role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"items"</span>:[</span></pre><pre class=" CodeMirror-line "
                                                                                role="presentation"><span
                role="presentation"
                style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"1"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"我"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"rr"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"SBV"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"主谓关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"爱"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"v"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"0"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"HED"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"核心关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"3"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"桂林"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"ns"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"VOB"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"动宾关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"4"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"，"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"w"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"WP"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"标点符号"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"5"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"也"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"d"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"6"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"ADV"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"状中结构"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"6"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"爱"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"v"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"COO"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"并列关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"7"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"桂林电子科技大学"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"ns"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"6"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"VOB"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"动宾关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ]</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"text"</span>:<span class="cm-string">"我爱我的家。"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"items"</span>:[</span></pre><pre class=" CodeMirror-line "
                                                                                role="presentation"><span
                role="presentation"
                style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"1"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"我"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"rr"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"SBV"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"主谓关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"爱"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"v"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"5"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"ATT"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"定中关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"3"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"我"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"rr"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"VOB"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"动宾关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"4"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"的"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"ude1"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"2"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"RAD"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"右附加关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"5"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"家"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"q"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"0"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"HED"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"核心关系"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  },</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"id"</span>:<span class="cm-string">"6"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"word"</span>:<span class="cm-string">"。"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"pos"</span>:<span class="cm-string">"w"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"head"</span>:<span class="cm-string">"5"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"deprel"</span>:<span class="cm-string">"WP"</span>,</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span
                class="cm-string cm-property">"detail"</span>:<span class="cm-string">"标点符号"</span></span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ]</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp; &nbsp; &nbsp;  }</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation" style="padding-right: 0.1px;"> &nbsp;  ]</span></pre><pre
                class=" CodeMirror-line " role="presentation"><span role="presentation"
                                                                    style="padding-right: 0.1px;">}</span></pre></div></div></div></div></div><div
                style="position: absolute; height: 30px; width: 1px; border-bottom-width: 0px; border-bottom-style: solid; border-bottom-color: transparent; top: 2640px;"></div><div
                class="CodeMirror-gutters" style="display: none; height: 2670px;"></div></div></div></pre>
        <fieldset class="layui-elem-field layui-field-title site-title">
            <legend><a name="compatibility">响应参数说明</a></legend>
        </fieldset>
        <figure>
            <table>
                <thead>
                <tr>
                    <th style="text-align:center;">字段名称</th>
                    <th style="text-align:center;">类型</th>
                    <th style="text-align:center;">是否必须</th>
                    <th style="text-align:center;">默认值</th>
                    <th style="text-align:center;">说明</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td style="text-align:center;">texts</td>
                    <td style="text-align:center;">array</td>
                    <td style="text-align:center;">是</td>
                    <td style="text-align:center;">&nbsp;</td>
                    <td style="text-align:center;">多文本句法分析，每一个文本都占一个text</td>
                </tr>
                <tr>
                    <td style="text-align:center;">text</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">是</td>
                    <td style="text-align:center;">&nbsp;</td>
                    <td style="text-align:center;">单文本句法分析</td>
                </tr>
                <tr>
                    <td style="text-align:center;">type</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">否</td>
                    <td style="text-align:center;">HANLP_MaxEnt</td>
                    <td style="text-align:center;">HANLP_MaxEnt是NLP的一种句法分析的算法</td>
                </tr>
                <tr>
                    <td style="text-align:center;">format</td>
                    <td style="text-align:center;">string</td>
                    <td style="text-align:center;">否</td>
                    <td style="text-align:center;">JSON</td>
                    <td style="text-align:center;">默认返回JSON格式</td>
                </tr>
                </tbody>
            </table>
        </figure>
        <fieldset class="layui-elem-field layui-field-title site-title">
            <legend><a name="compatibility">依存句法的关系</a></legend>
        </fieldset>
        <figure>
            <table>
                <thead>
                <tr>
                    <th style="text-align:center;">中文名称</th>
                    <th style="text-align:center;">英文缩写</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td style="text-align:center;">主谓关系</td>
                    <td style="text-align:center;">SBV</td>
                </tr>
                <tr>
                    <td style="text-align:center;">动宾关系</td>
                    <td style="text-align:center;">VOB</td>
                </tr>
                <tr>
                    <td style="text-align:center;">间宾关系</td>
                    <td style="text-align:center;">IOB</td>
                </tr>
                <tr>
                    <td style="text-align:center;">前置宾语</td>
                    <td style="text-align:center;">FOB</td>
                </tr>
                <tr>
                    <td style="text-align:center;">兼语</td>
                    <td style="text-align:center;">DBL</td>
                </tr>
                <tr>
                    <td style="text-align:center;">定中关系</td>
                    <td style="text-align:center;">ATT</td>
                </tr>
                <tr>
                    <td style="text-align:center;">状中结构</td>
                    <td style="text-align:center;">ADV</td>
                </tr>
                <tr>
                    <td style="text-align:center;">动补结构</td>
                    <td style="text-align:center;">CMP</td>
                </tr>
                <tr>
                    <td style="text-align:center;">并列关系</td>
                    <td style="text-align:center;">COO</td>
                </tr>
                <tr>
                    <td style="text-align:center;">介宾关系</td>
                    <td style="text-align:center;">POB</td>
                </tr>
                <tr>
                    <td style="text-align:center;">左附加关系</td>
                    <td style="text-align:center;">LAD</td>
                </tr>
                <tr>
                    <td style="text-align:center;">右附加关系</td>
                    <td style="text-align:center;">RAD</td>
                </tr>
                <tr>
                    <td style="text-align:center;">独立结构</td>
                    <td style="text-align:center;">IS</td>
                </tr>
                <tr>
                    <td style="text-align:center;">标点符号</td>
                    <td style="text-align:center;">WP</td>
                </tr>
                <tr>
                    <td style="text-align:center;">核心关系</td>
                    <td style="text-align:center;">HED</td>
                </tr>
                </tbody>
            </table>
        </figure>
        <fieldset class="layui-elem-field layui-field-title site-title">
            <legend><a name="compatibility">分析的方法</a></legend>
        </fieldset>
        <figure>
            <table>
                <thead>
                <tr>
                    <th style="text-align:center;">参数</th>
                    <th style="text-align:center;">名称</th>
                    <th style="text-align:center;">备注</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td style="text-align:center;">HANLP_CRF</td>
                    <td style="text-align:center;">条件随机场算法</td>
                    <td style="text-align:center;">HANLP自带的</td>
                </tr>
                <tr>
                    <td style="text-align:center;">HANLP_NeuralNetwork</td>
                    <td style="text-align:center;">神经网络算法</td>
                    <td style="text-align:center;">HANLP自带的</td>
                </tr>
                <tr>
                    <td style="text-align:center;">HANLP_MaxEnt</td>
                    <td style="text-align:center;">最大熵算法</td>
                    <td style="text-align:center;">HANLP自带的</td>
                </tr>
                </tbody>
            </table>
        </figure>

        <fieldset class="layui-elem-field layui-field-title site-title">
            <legend><a name="compatibility">返回格式</a></legend>
        </fieldset>
        <table>
            <thead>
            <tr>
                <th style="text-align:center;">可选参数</th>
                <th style="text-align:center;">含义</th>
                <th style="text-align:center;">备注</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td style="text-align:center;">JSON</td>
                <td style="text-align:center;">JSON格式返回</td>
                <td style="text-align:center;">解析HTTP响应须以application/json作为媒体类型</td>
            </tr>
            <tr>
                <td style="text-align:center;">TEXT</td>
                <td style="text-align:center;">纯文本格式返回</td>
                <td style="text-align:center;">解析HTTP响应须以application/plaintext作为媒体类型，文本会以空格作为分割</td>
            </tr>
            <tr>
                <td style="text-align:center;">XML</td>
                <td style="text-align:center;">XML格式返回</td>
                <td style="text-align:center;">解析HTTP响应须以application/xml作为媒体类型</td>
            </tr>
            </tbody>
        </table>
        <div class="layui-elem-quote">
            <p>自然语言处理与可视化平台 - 林晓民</p>
        </div>

    </div>

        <jsp:include page="nav.jsp"></jsp:include>
    <jsp:include page="/static/common/footer.jsp"></jsp:include>
    <jsp:include page="/static/common/scripts.jsp"></jsp:include>
    <script src="/static/layui/js/doc/doc.js"></script>
        <jsp:include page="nav.jsp"></jsp:include>

</body>
</html>